<?php
require("../../../weblinx/weblinx.php");
require("../../Classes/Setter.php");
require("../../Forms/Admin/FrmThemes.php");

if(isset($_GET['okTheme'])){

	$setter=new Setter("../../Config");
	
	$setter->setTheme($_GET['themes']);
	
	$messageBox=new MessageBox("../../../weblinx/Images/info.png","Los cambios de aspecto se verán la próxima vez que inicie el sistema SCI","okThemeInfo","ok",array("onclick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmThemes.php')"),"cancelThemeInfo","cancel",array("onclick"=>"GETMethodSend(this.id,'adminContent','../../Events/Admin/EventsFrmThemes.php')"));
	$messageBox->setVisible("visible");
	$messageBox->show();
	
	$frmThemes=new FrmThemes();
	$frmThemes->show();
	
}
else if(isset($_GET['okThemeInfo'])){
	$frmThemes=new FrmThemes();
	$frmThemes->show();
}
else if(isset($_GET['cancelThemeInfo'])){
	$frmThemes=new FrmThemes();
	$frmThemes->show();
}
?>